package com.cll.pmis.service;

import com.baomidou.mybatisplus.service.IService;
import com.cll.pmis.common.PageInfo;
import com.cll.pmis.entity.Drug;
import com.cll.pmis.entity.Orders;
import com.cll.pmis.mapper.OrderMapper;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenliangliang
 * @since 2018-06-18
 */
public interface IOrderService extends IService<Orders> {


    OrderMapper getMapper();

    PageInfo<Orders> list(Integer userId, Integer pageIndex, Integer pageSize);

    List<Drug> getOrderDetail(Integer orderId);
}
